package com.xbongbong.pro.customerstatement.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class StatementSummaryPojo implements Serializable {
    private static final long serialVersionUID = -5586150662514275113L;
    /**
     * 应收金额
     */
    private String amountReceivable;
    /**
     * 回款金额
     */
    private String amountReceived;
    /**
     * 核销金额
     */
    private String writeOffAmount;
    /**
     * 应收余额
     *
     * =期初 + 应收款 - 核销金额
     */
    private String balanceReceivable;
    /**
     * 应收余额 中文
     */
    private String balanceReceivableChinese;

    public StatementSummaryPojo(String amountReceivable, String amountReceived, String writeOffAmount, String balanceReceivable) {
        this.amountReceivable = amountReceivable;
        this.amountReceived = amountReceived;
        this.writeOffAmount = writeOffAmount;
        this.balanceReceivable = balanceReceivable;
    }

    public StatementSummaryPojo(String balanceReceivable, String balanceReceivableChinese) {
        this.balanceReceivable = balanceReceivable;
        this.balanceReceivableChinese = balanceReceivableChinese;
    }
}
